home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / tpl.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  2KB  |  95 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2.  
  3. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  4.  
  5. <!--
  6.     Tpl mode by Brant Gurganus <brantgurganus2001@cherokeescouting.org>
  7.     Adapted from ColdFusion
  8. -->
  9.  
  10. <MODE>
  11.     <PROPS>
  12.         <PROPERTY NAME="commentStart" VALUE="<!--" />
  13.         <PROPERTY NAME="commentEnd" VALUE="-->" />
  14.     </PROPS>
  15.  
  16.     <RULES IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
  17.         <!-- SGML comment -->
  18.         <SPAN TYPE="COMMENT3">
  19.             <BEGIN><!--</BEGIN>
  20.             <END>--></END>
  21.         </SPAN>
  22.  
  23.         <!-- JavaScript -->
  24.         <SPAN TYPE="MARKUP" DELEGATE="html::JAVASCRIPT">
  25.             <BEGIN><SCRIPT</BEGIN>
  26.             <END></SCRIPT></END>
  27.         </SPAN>
  28.  
  29.         <!-- stylesheet -->
  30.         <SPAN TYPE="MARKUP" DELEGATE="html::CSS">
  31.             <BEGIN><STYLE</BEGIN>
  32.             <END></STYLE></END>
  33.         </SPAN>
  34.  
  35.         <!-- markup tags -->
  36.         <SPAN TYPE="MARKUP" DELEGATE="TAGS">
  37.             <BEGIN><</BEGIN>
  38.             <END>></END>
  39.         </SPAN>
  40.  
  41.         <!-- SGML entities -->
  42.         <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
  43.             <BEGIN>&</BEGIN>
  44.             <END>;</END>
  45.         </SPAN>
  46.  
  47.         <!-- Delegate {php}-Tags to PHP mode -->
  48.         <SPAN TYPE="KEYWORD3" DELEGATE="php::PHP">
  49.             <BEGIN>{PHP}</BEGIN>
  50.             <END>{/PHP}</END>
  51.         </SPAN>
  52.  
  53.         <!-- TPL markup start tags -->
  54.         <SPAN TYPE="KEYWORD3" DELEGATE="TPL">
  55.             <BEGIN>{</BEGIN>
  56.             <END>}</END>
  57.         </SPAN>
  58.     </RULES>
  59.  
  60.     <RULES SET="TPL" DEFAULT="KEYWORD1" IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
  61.         <SPAN TYPE="LABEL">
  62.             <BEGIN>"</BEGIN>
  63.             <END>"</END>
  64.         </SPAN>
  65.         <SPAN TYPE="LABEL">
  66.             <BEGIN>'</BEGIN>
  67.             <END>'</END>
  68.         </SPAN>
  69.  
  70.         <SEQ TYPE="OPERATOR">*</SEQ>
  71.  
  72.  
  73.         <KEYWORDS>
  74.             <KEYWORD1>include</KEYWORD1>
  75.             <OPERATOR>=</OPERATOR>
  76.             <KEYWORD2>START</KEYWORD2>
  77.             <KEYWORD2>END</KEYWORD2>
  78.         </KEYWORDS>
  79.     </RULES>
  80.  
  81.     <RULES SET="TAGS" DEFAULT="MARKUP" IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
  82.         <SPAN TYPE="LITERAL1">
  83.             <BEGIN>"</BEGIN>
  84.             <END>"</END>
  85.         </SPAN>
  86.         <SPAN TYPE="LITERAL1">
  87.             <BEGIN>'</BEGIN>
  88.             <END>'</END>
  89.         </SPAN>
  90.  
  91.         <SEQ TYPE="OPERATOR">=</SEQ>
  92.  
  93.     </RULES>
  94. </MODE>
  95.